SET(gui_SRCS 
    Color.cpp
    LaserReadingRenderer.cpp 
    InterestPointRenderer.cpp
    PolarGridRenderer.cpp
    SensorStreamWidget.cpp
    RendererWidget.cpp
    MultiScaleDetectorPlotWidget.cpp
    SimplePeakFinderPresenter.cpp
    MultiScaleDetectorPresenter.cpp
    MultiScaleCurvatureDetectorPresenter.cpp
    MultiScaleNormalDetectorPresenter.cpp
    DetectorChooserPresenter.cpp
    DescriptorChooserPresenter.cpp
    ParameterWidget.cpp
    TabbedParameterWidget.cpp
    BoxParameterWidget.cpp
    ShapeContextPresenter.cpp
    BetaGridPresenter.cpp
    DescriptorWidget.cpp
    PolarGridGraphicsItem.cpp
    CorrespondenceRenderer.cpp
    FeatureSetMatcherPresenter.cpp
    RansacPresenter.cpp
) 

SET(gui_LIBS
    sensors 
    sensorstream 
    feature
    geometry 
    ${QT_LIBRARIES}
    ${OPENGL_LIBRARIES}
    ${Qwt5-Qt4_LIBRARY}
    utils
)

QT4_AUTOMOC(${gui_SRCS})

ADD_LIBRARY(gui SHARED ${gui_SRCS})
TARGET_LINK_LIBRARIES(gui ${gui_LIBS})

QT4_AUTOMOC(
    FLIRTDemo.cpp
)

ADD_EXECUTABLE(flirtDemo FLIRTDemo.cpp)
TARGET_LINK_LIBRARIES(flirtDemo gui )
